package com.dingpeikeji.quickdeer.modules.rentproduct.dao;

import java.util.List;
import java.util.Set;

import com.dingpeikeji.quickdeer.core.common.persistence.annotation.MyBatisDao;
import com.dingpeikeji.quickdeer.core.modules.sys.entity.Office;
import com.dingpeikeji.quickdeer.modules.rentproduct.entity.TCargotype;
import com.dingpeikeji.quickdeer.modules.rentproduct.entity.TCargotypeForsale;
import com.dingpeikeji.quickdeer.modules.rentproduct.entity.TRentproduct;

@MyBatisDao
public interface FRentproductDao {
	
	public TRentproduct getSuitrtnprice(TRentproduct rentproduct);

	public List<TRentproduct> findInCityList(TRentproduct rentproduct);
	
	public List<TRentproduct> findBetweenCityList(TRentproduct rentproduct);
	
	public List<TRentproduct> findTravelList(TRentproduct rentproduct);
	
	public List<TRentproduct> findPlaneList(TRentproduct rentproduct);
	
	public List<TRentproduct> findTrainList(TRentproduct rentproduct);

	public double findLowestPrice(TRentproduct tRentproduct);

	public List<TCargotype> getCargotypeList(TCargotype tCargotype);

	public List<TCargotype> findCargotypeList(TCargotype tCargotype);

	public List<Office> findAirProductByType(TCargotypeForsale tc);

	public int findLastRealscheidFromOrder();

	public double getFactor(String name, int disLevel);

	public List<TRentproduct> findInCityListWX(TRentproduct tRentproduct);

	public List<TRentproduct> findBetweenCityListWX(TRentproduct tRentproduct);

	public List<TRentproduct> findTravelListWX(TRentproduct tRentproduct);

	public List<TRentproduct> findPlaneListWX(TRentproduct tRentproduct);

	public List<TRentproduct> findTravelMobileList(TRentproduct tRentproduct);

}
